package com.feidee.bigdata.service;

import com.feidee.bigdata.service.impl.TestSentinelOpenFeignImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author:CHQ
 * @Date:2020/5/11 11:05
 * @Description
 */
@FeignClient(value = "sentinel-provider",fallback = TestSentinelOpenFeignImpl.class)
public interface TestSentinelOpenFeign {

    @RequestMapping("/testSentinel/{id}")
    String testSentinel(@PathVariable(value = "id") String id);

}
